#include <iostream>
#include <vector>
#include <string>

using namespace std;

// TODO

bool isValid(string code)
{

}

int main()
{
    string code = "<DIV>This is the first line <![CDATA[<div>]]></DIV>";
    cout << isValid(code) << endl;
    return 0;
}
